<template>
	<view class="content">
	<view> <image :src="$host+'noshop.jpg'" mode="widthFix"></image>
			<view class="btn" @click="toBuy">去逛逛</view></view>
	</view>

</template>

<script>		
	export default{
		data(){
			
			return{
				
				$host:this.$host
				
			}
		},
			 
		methods:{
			toBuy(){
				uni.switchTab({
					url:"/pages/class/index"
				})
			}
		}
	}
</script>

<style>
	.content>view{
		
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: relative;
		top: 103px;
	}
	.content{
		width: 100%;
		height: 100vh;
		background-color:#f4f4f4;
	}
	.content image{
		width: 200px;
		
		
	}
	.btn{
		border: 1px solid #fe9a69;
		 width: 100px;
		 height: 38px;
		 text-align: center;
		 line-height: 38px;
		 border-radius: 18px;
		 color: #fe9a69;
		font-weight: 600;
		margin-top: 20rpx;
		
		 
	}
</style>